package com.gky.gkytemplate.test;

import cn.hutool.core.io.FileUtil;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.UUID;

@SpringBootTest
public class testUUID {



    @Test
    public void testU(){
        System.out.println(UUID.randomUUID());
    }


    @Test
    public void testFile(){
        String suffix = FileUtil.getSuffix("E:\\work\\文档\\yj-api文档\\需求文档.docx");
        System.out.println(suffix);
    }
}
